<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title><h:outputText value="Seminário 2014 - PIBIC"/></title>
    </h:head>
    <div align="center" id="creditos">
        <h:graphicImage library="imagem" name="banner.jpg"/>
    </div>
    <body bgcolor="#CEF6D8">
        <h:body>
            <h:form>
                <div align="center">
                    <h1>
                        <font color="green">
                            <h:outputText value="CADASTRO - NOVO USUARIO" /><br/><br/>
                        </font>
                    </h1>
                    <h:panelGrid columns="1">
                    Nome: <h:inputText id="nome"  value="#{     loginBean.nome}" size="50"/><br/>
                    E-mail: <h:inputText id="email"  value="#{     loginBean.email}" size="50"/><br/>
                    Login: <h:inputText id="login"  value="#{     loginBean.login}" size="50"/><br/>
                    Senha: <h:inputText id="senha"  value="#{     loginBean.senha}" size="49"/><br/>
                    <h:commandButton value=" ENVIAR " action="#{loginBean.cadastro()}" onclick="aviso()" > </h:commandButton>
                    </h:panelGrid>
                    <script>
                        function aviso() {
                            alert("Cadastro Enviado!");
                        }
                    </script>

                </div>
            
                
            
            </h:form>
        </h:body>
    </body>
</html>

